/*
 * 上海远境文化传媒有限公司 版权所有
 */
package models.vo;

/**
 * Key Value值对
 */
public class KeyValue<T> {

    public String key;

    public T value;

    public KeyValue() {
    }

    public KeyValue(String key, T value) {
        this.key = key;
        this.value = value;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("KeyValue{");
        sb.append("key='").append(key).append('\'');
        sb.append(", value=").append(value);
        sb.append('}');
        return sb.toString();
    }
}
